package com.zingrow.web.configure.weixin.service;

import java.io.File;
import java.util.List;


import com.zingrow.common.utils.PageView;
import com.zingrow.web.common.utils.AnalyzeResult;
import com.zingrow.web.configure.weixin.model.Weixin;

public interface IWeixinService {

	//模糊查询
	public abstract List<Weixin> queryByParams(PageView pageView,
			String weixinuser_id, String weixin_name,Integer is_exprot);

	//新增
	public abstract boolean addWeixin(Weixin weixin);

	//修改
	public abstract boolean modifyWeixin(Weixin weixin);
    //批量删除
	public abstract boolean batchDeletes(List delList);
	//删除
	public abstract boolean deleteWeixin(Integer weixin_id);

	//查询相同微信id
	public abstract boolean queryById(Integer weixin_id,
			String weixinuser_id);
	
	//单个查询
	public abstract Weixin queryWeixinById(Integer weixin_id);
	
	//查询全部的接口
	public abstract List<Weixin> queryByIdName(PageView pageView);
	
	//根据list集合中的id查询 
	List<Weixin> queryWeixinByIdList(List<String> idlist);
	
	//导出
	List<Weixin> queryWeixinbyid(List<Integer> ids);
	
	//新方案根据类型查询微信业务ID
    List<Weixin> queryWeixinIdByType(PageView pageView,String weixin_name, String weixinuser_Id);
	
	//导入
	void analyzeExcelData(File file,AnalyzeResult<Weixin> result)throws Exception;
	
	boolean modifyDisplay(int displary,List<String> displaylist);
}